 <div id="navigation" class="clearfix">
	
		<ul id="navlist">
			<?php 
			
			if(trim(arg(0)) == 'bestsell'){
				print '<li class="item1 active"><a class="item1" href="'. base_path() .'bestsell">bestsell</a>';
			}else{
				print '<li class="item1"><a class="item1" href="'. base_path() .'bestsell">bestsell</a>';
			}
			?>
			<div class="submenu">
			<div class="submenu-grid" id="submenu1">
			<div class="submenu-content clearfix">
		
				<div class="submenu-col submenuWidth1">
				<h3><?php print t('销售榜单'); ?></h3>
				<ul class="clearfix">
						<li><a href="<?php print base_path(); ?>bestsell/newproduct"><?php print t('新品上市'); ?></a></li>
            <li><a href="<?php print base_path(); ?>bestsell/customerfav"><?php print t('最受欢迎产品'); ?></a></li>
				</ul>
				</div>
			
				<div class="submenu-col submenuWidth2">
					<h3><?php print t('本季主打'); ?></h3>
					<ul class="clearfix">
						<li><a href="<?php print base_path(); ?>bestsell/mainpro"><?php print t('本季主打'); ?></a></li>
            			<li><a href="<?php print base_path(); ?>bestsell/customerfav"><?php print t('最受欢迎产品'); ?></a></li>
					</ul>
			
				</div>
			
				<div class="submenu-col submenuWidth3">
				
				</div>
        
			</div>
			</div>
			</div>
			</li>
		
			<li class="item2">
      <?php 
			
			if(trim(arg(0)) == 'classic'){
				print '<li class="item2 active"><a class="item2" href="'. base_path() .'classic">classic</a>';
			}else{
				print '<li class="item2"><a class="item2" href="'. base_path() .'classic">classic</a>';
			}
			?>
			<div class="submenu">
			<div class="submenu-grid" id="submenu2">
			<div class="submenu-content clearfix">
				<?php $items = taxonomy_get_tree(3, 0, 1); ?>
				<div class="submenu-col submenuWidth1">
				<h3><?php print $items[0]->name; ?></h3>
				<ul class="clearfix">
						<?php 
							$sub_items = taxonomy_get_children($items[0]->tid);
							foreach($sub_items as $value){
								print '<li><a href="'. base_path() .'classic-item/'.$value->tid.'">' . $value->name . '</a></li>';
							}
						?>
					
				</ul>
				</div>
			
				<div class="submenu-col submenuWidth2">
				<h3><?php print $items[1]->name; ?></h3>
				<ul class="clearfix">
						<?php 
							$sub_items = taxonomy_get_children($items[1]->tid);
							foreach($sub_items as $value){
								print '<li><a href="'. base_path() .'classic-item/'.$value->tid.'">' . $value->name . '</a></li>';
							}
						?>
				</ul>
				</div>
        
        <div class="submenu-col submenuWidth3">
				<h3><?php print $items[2]->name; ?></h3>
				<ul class="clearfix">
						<?php 
							$sub_items = taxonomy_get_children($items[2]->tid);
							foreach($sub_items as $value){
								print '<li><a href="'. base_path() .'classic-item/'.$value->tid.'">' . $value->name . '</a></li>';
							}
						?>
				</ul>
				</div>
			
			
			</div>
			</div>
			</div>
			</li>
      
      <li class="item3">
      <?php 
			
			if(trim(arg(0)) == 'classic'){
				print '<li class="item3 active"><a class="item3" href="'. base_path() .'zx">zx</a>';
			}else{
				print '<li class="item3"><a class="item3" href="'. base_path() .'zx">zx</a>';
			}
			?>
			<div class="submenu">
			<div class="submenu-grid" id="submenu3">
			<div class="submenu-content clearfix">
				<?php $items = taxonomy_get_tree(5, 0, 1); ?>
				<div class="submenu-col submenuWidth1">
				<h3><?php print $items[0]->name; ?></h3>
				<ul class="clearfix">
						<?php 
							$sub_items = taxonomy_get_children($items[0]->tid);
							foreach($sub_items as $value){
								print '<li><a href="'. base_path() .'classic-item/'.$value->tid.'">' . $value->name . '</a></li>';
							}
						?>
					
				</ul>
				</div>
			
				<div class="submenu-col submenuWidth2">
				<h3><?php print $items[1]->name; ?></h3>
				<ul class="clearfix">
						<?php 
							$sub_items = taxonomy_get_children($items[1]->tid);
							foreach($sub_items as $value){
								print '<li><a href="'. base_path() .'classic-item/'.$value->tid.'">' . $value->name . '</a></li>';
							}
						?>
				</ul>
				</div>
        
        <div class="submenu-col submenuWidth3">
				<h3><?php print $items[2]->name; ?></h3>
				<ul class="clearfix">
						<?php 
							$sub_items = taxonomy_get_children($items[2]->tid);
							foreach($sub_items as $value){
								print '<li><a href="'. base_path() .'classic-item/'.$value->tid.'">' . $value->name . '</a></li>';
							}
						?>
				</ul>
				</div>
			
			
			</div>
			</div>
			</div>
			</li>
	
			<li class="item4">
       <?php 
			
			if(trim(arg(0)) == 'aijia-info'){
				print '<li class="item4 active"><a class="item4" href="'. base_path() .'aijia-info">aijia-info</a>';
			}else{
				print '<li class="item4"><a class="item4" href="'. base_path() .'aijia-info">aijia-info</a>';
			}
			?>
			<div class="submenu">
			<div class="submenu-grid" id="submenu4">
			<div class="submenu-content clearfix">
		
				<div class="submenu-col submenuWidth1">
				<h3>加入我们</h3>
				<ul class="clearfix">
			
						<li><a href="<?php print base_path(); ?>aijia-info/join">加盟地区查询</a></li>
					
						<li><a href="<?php print base_path(); ?>aijia-info/job">人才招聘</a></li>
				</ul>
				</div>
			
				<div class="submenu-col submenuWidth2">
				<h3>了解我们</h3>
				<ul class="clearfix">
			
						<li><a href="<?php print base_path(); ?>aijia-info/about">了解艾嘉</a></li>
					
				</ul>
				</div>
			
			</div>
			</div>
			</div>
			</li>
		
			
		
			
		
		</ul>
		<div id="searchbar" class="">
			<form action="<?php print base_path()?>search/node" method="post" id="search-form">
			<input onfocus="this.value=''" value="Search  " id="search" name="search" type="text">
			<input value="" class="button" border="0" type="submit">
			</form>
			<div style="display: none;" id="global-typeahead-search-box"></div>
		</div>
  </div><!-- /#navigation -->